--[[

        npc.lua
        exported by excel2lua.py
        from file:npc.xlsx

--]]

local _data = {
  [1] = {id = 1,name = '老板娘',storyId = 1,jump = 'shop',},
  [2] = {id = 2,name = '传送门',storyId = 2,jump = 'monsterhole',},
}

local id_to_index={
   [1] = 1,
   [2] = 2,
}

local npc={}

function npc.length() 
   return #_data 
end 

function npc.indexOf(index) 
   return _data[index] 
end 

function npc.get(id) 
  return npc.indexOf(id_to_index[id])
end 

return npc